// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

var $j = jQuery.noConflict();

	function isGraduated(){
		if ($j("#grad").children("input")[1].checked)
			//alert("check");
			$j('#gradyear').fadeIn();
		else 
			//alert("uncheck");
			$j('#gradyear').fadeOut();
	}

$j(document).ready(function(){

  $j(".notifier").click(function(){    
		if ($j(this).text() == "ย่อ"){
			$j(this).text("แสดง");
		}
		else{
			$j(this).text("ย่อ");
		}
	  $j(this).siblings(".data").slideToggle("slow");
  });

});
